{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>训练详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">名字：</label>
                            <div class="layui-input-block">
                                <input type="text" name="pra_name" disabled  value="{$info.pra_name}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">状态：</label>
                            <div class="layui-input-block">
                                <input type="text" name="pra_online" disabled  value="{if $info.pra_online==1}上架{else/}下架{/if}" class="layui-input ">
                            </div>
                        </div>
                        <!--xm-select-radio=""-->
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">琴行：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_typename" disabled  value="{$p_info.pa_name}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">学生：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_typename" disabled  value="{$p_info.user_username}" class="layui-input ">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">日期：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_start_time" disabled  value="{$info.pra_date}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">练习状态：</label>
                            <div class="layui-input-block">
                                <input type="text" name="pra_online" disabled  value="{if $info.pra_status==1}未练习{else/}已练习{/if}" class="layui-input ">
                            </div>
                        </div>
                        {if $info.pra_status==2}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">练习录音：</label>
                            <div class="layui-input-block">
                                <audio controls="controls" src="{$info.pra_url}">
                                    Your browser does not support the audio tag.
                                </audio>
                            </div>
                        </div>
                        {/if}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">今日时长：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_typename" disabled  value="{$info.pra_minus}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">今日总时长：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_typename" disabled  value="{$info.pra_all_minus}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">累计天数：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_typename" disabled  value="{$info.pra_days}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">累计次数：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_typename" disabled  value="{$info.pra_times}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">创建人：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_sort" disabled value="{$info.pra_admin}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">创建时间：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_sort" disabled value="{$info.pra_time}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                                <button class="layui-btn layui-btn-primary" onclick="wk.layer_close('close')">返回</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script>

</script>

</body>
</html>
